//
// Created by xili on 2024/8/25 16:02.
// GO BIG OR GO HOME.
//
#include "leetcode.h"

class Solution {
public:
    bool checkIfPangram(string sentence) {
        vector<int> v(26, 1);
        for (auto &item: sentence) {
            v[item - 'a']--;
        }
        for (auto &item: v) {
            if (item == 1) {
                return false;
            }
        }
        return true;
    }
};